var yesten_panel = yesten_panel || {};
yesten_panel.msg = yesten_panel.msg || {};
yesten_panel.icon = yesten_panel.icon || {};
yesten_panel.save = '保存';
yesten_panel.add = '添加';
yesten_panel.cancel = '取消';
yesten_panel.confirm = '确认';
yesten_panel.prompt = '提示';
yesten_panel.warning = '警告';
yesten_panel.msg.confirmDelData = '确认删除所选记录么？';
yesten_panel.msg.selectOneData = '请选取且只能一条记录！';
yesten_panel.msg.selectDatas = '至少要选取一条记录！';
yesten_panel.msg.deleteSuccess = '删除成功！';

yesten_panel.icon.error = 'error';
yesten_panel.icon.question = 'question';
yesten_panel.icon.info = 'info';
yesten_panel.icon.warning = 'warning';

/**
 * 双表格级联，主表格样式调整方法
 * panelDataList.jsp该页面此方法不通用 需另处理
 */
var gridTrStyleRepair = function(rowIndex){
	$('#datagrid-row-r1-2-'+rowIndex).siblings('tr').removeClass('datagrid-row-selected');
	$('#datagrid-row-r1-2-'+rowIndex).addClass('datagrid-row-selected');
}
var gridTrStyleInit = function(){
	$('#datagrid-row-r1-2-0').addClass('datagrid-row-selected');
}